package com.situ.water_Invoice.service.impl;

import com.situ.water_Invoice.pojo.IvIninvoice;
import com.situ.water_Invoice.mapper.IvIninvoiceMapper;
import com.situ.water_Invoice.service.IvIninvoiceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Service
public class IvIninvoiceServiceImpl extends ServiceImpl<IvIninvoiceMapper, IvIninvoice> implements IvIninvoiceService {

    @Autowired
    IvIninvoiceMapper mapper;


    @Override  //比较发票是否存在
    public IvIninvoice queryId(String StartNo) {
        return mapper.queryId(StartNo);
    }

    @Override
    public int add(IvIninvoice ivIninvoice) {
        return mapper.addivininvoice(ivIninvoice);
    }



}
